BINDIR=`pwd`
ALLOCATORS="libhoard.so libmaylloc.so.1"
SIZES="1 4 5 8 12 4 9 16 32 45 78 1 12 45 90 56 34 500 512 600 2011 1024 3000 4000 2048 2049 8000"
#SIZES="1 4 5 8 12"
ITERATIONS=100
NUM_OBJECTS=3000
NOFTHREADS=5
WORK=800

for i in $ALLOCATORS;
do
  export LD_PRELOAD=$BINDIR/$i
  for((j=1;j<=$NOFTHREADS;j++));
  do
    for s in $SIZES;
    do
      #echo $j $ITERATIONS $NUM_OBJECTS $WORK $s
      ./threadtest $j $ITERATIONS $NUM_OBJECTS $WORK $s
    done;
  done;
  export LD_PRELOAD=
done;
